package com.net.xpay.common.service;


import com.net.xpay.common.domain.CheckCode;
import com.net.xpay.common.enums.user.CheckCodeType;

/**
 * @author  on 08/02/2018.
 */
public interface CheckCodeService {
    CheckCode sendCheckCode(String mobile, CheckCodeType type, String ip);

    CheckCode sendCheckCodeWithRelatedId(String mobile, CheckCodeType type, String ip, Long relatedId);

}
